{extend name="common@base/common" /}

{block name="style"}
<link href="__CSS__/articles.min.css" rel="stylesheet" type="text/css"/>
{/block}
{block name="body"}
    <div id="main-container" class="container">
        <div class="row">
            <div class="col-md-8">
                <div class="common_block_border">
                    <div class="common_content_box">
                        <section id="contents">
                            {notempty name="list"}
                                {volist name="list" id="data"}
                                    {include file="public/_my_list"/}
                                    
                                {/volist}
                            {else/}
                                <div style="font-size:1em;padding:2em 0;color: #ccc;text-align: center">
                                    该类型下没有内容~
                                </div>
                            {/notempty}
                        </section>
                        <div class="text-right">
                            {$list->render()}
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-md-4">
                <div class="right_block">
                    
                    {include file="public/_button"/}
                    
                </div>
                <div class="right_block">
                    <div class="right_block_item">
                        <div class="right_block_title">
                            <h3>作者</h3>
                        </div>
                        <div class="author_info">
                            <div class="col-xs-12">
                                <div class="row">
                                    <div class="col-xs-3">
                                        <img class="img-circle" src="{$author.avatar64}"/>
                                    </div>
                                    <div class="col-xs-9">
                                        <a href="{$author.space_url}">{$author.nickname}</a>
                                        <p class="text-more">{$author.signature}</p>
                                    </div>
                                </div>
                            </div>
                            <div class="">
                                <div class="author_num">
                                    <span class="num">
                                    {$author.articles_count}篇
                                    <br />
                                    文章总数
                                    </span>
                                    <span class="num">
                                    {$author.articles_view}
                                    <br />
                                    总访问次数
                                    </span>
                                </div>
                            </div>
                            <div class="clearfix"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
{/block}
{block name="script"}
<script>
    $('[data-toggle="popover"]').popover();
</script>
{/block}
